// ES11 Nullish Coalescing Operator 空值合并运算
// ES 11 空值合并运算 ??

// let  foo = undefined
// let foo = ""
let foo = ""

// const bar = foo || "deault value"
const bar = foo || "default value"
//弊端 0或者"" 取不到

console.log(bar)